<{include file="app/header.tpl"}>

<ul class="goods-evaluation">
	<{foreach from=$commentsList item="cmt"}>
	<li class="li">
		<div class="left">
			<img src="<{$cmt.user.userIcon}>" class="img" alt="">
		</div>
		<div class="right">
			<p class="username"><{$cmt.user.userName}></p>
			<p class="stars"><img class="img" src="/resource/app/imgs/pinglun_stars_0<{$cmt.miaoshu}>.png" alt=""></p>
			<p class="text"><{$cmt.comments}></p>
			<p class="date"><{"Y-m-d H:i"|date:$cmt.created}></p>
		</div>
	</li>
	<{/foreach}>
</ul>

<!-- 当没有评论的时候出现 start -->

<!-- <div class="goods-evaluation-empty">
	<img src="/resource/app/imgs/all_empty.png" alt="">
    <p class="text">暂无评论</p>
</div> -->

<!-- 当没有评论的时候出现 end -->

<script>
// 勿删 start
document.body.style.backgroundColor = '#fff';
// 勿删 end
</script>

<{include file="app/footer.tpl"}>
